<?php
/**
 * File: artistcontacts.php.
 * Author: CaoQiCheng
 * Editor: PhpStorm
 * Date: 16/6/22 下午15:45
 * Brief:
 */
namespace haibao\cms\model\data\artist;

class ArtistContacts extends \haibao\cms\model\data\Base{
	
	const TYPE_AGENT = 1;
	const TYPE_PROPAGANDA = 2;
	 
	/**
	 * 保密主表的id
	 */
	public $ArtistInsideId;
	/**
	 * 联系人类型 1 经纪人 2 宣传
	 */
	public $ContactType;
	/**
	 * 联系人名称
	 */
	public $ContactName;
	
	/**
	 * 手机号
	 */
	public $CellPhone;
	/**
	 * 微信号
	 */
	public $WeChat;

	public function __construct(){
		parent::__construct();
		$this->intField('ArtistInsideId', 'ArtistInsideId',true);
		$this->intField('ContactType', 'ContactType',true);
		$this->stringField('ContactName', 'ContactName');
		$this->stringField('CellPhone', 'CellPhone');
		$this->stringField('WeChat', 'WeChat');

		$this->setTableName('ArtistContacts');
	}
}